package com.myf.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value="whs_inventory",autoResultMap = true)
public class InventoryEntity   extends BaseEntity {
    @TableId(type = IdType.AUTO)
    public Integer id;

    public int warehouseId;

    public int locationId;

    public int materialId;

    public float quantity;

    public float previousQuantity;
}
